package com.villaday.idf.adapter3;

import android.content.Context;

import com.villaday.idf.R;
import com.villaday.idf.base.AbsRecyclerViewAdapter;
import com.villaday.idf.model.Houses_filtersEntity;
import com.villaday.idf.model3.Find_hotel_configurationsEntity;

/**
 * Created by tudou on 2018/10/8.
 */

public class JiuDianFiltersSortAdapter extends AbsRecyclerViewAdapter<Find_hotel_configurationsEntity.BodyEntity.SortsEntity> {
    public JiuDianFiltersSortAdapter(Context context) {
        super(context, R.layout.item_bourn_head_addr_sort);
    }

    @Override
    public void onBindHolder(AbsRecyclerViewAdapter.RecyclerViewHolder holder, Find_hotel_configurationsEntity.BodyEntity.SortsEntity d, int position) {
        holder.bindTextView(R.id.tv_city, d.getName())
                .setViewSelected(R.id.tv_city,d.isCheck());
    }
}
